package cn.learn.client;

import java.io.IOException;
import java.net.InetSocketAddress;

public class ZooKeeperMain {
    public ZooKeeperMain(String[] args) throws IOException {
        ClientCnxnSocketNetty socketNetty = new ClientCnxnSocketNetty();
        socketNetty.connect(new InetSocketAddress("localhost", 8080));

        socketNetty.seed();
    }

    public static void main(String[] args) throws IOException {
        ZooKeeperMain main = new ZooKeeperMain(args);
        main.run();
        System.in.read();
    }

    private void run() {

    }
}
